<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/browseuser',
    'namespace' => 'Frieza\\Modules\\Browseuser\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {

    // 列表
    $router->get('/index', 'BrowseuserController@index');
    // 编辑
    $router->get('/index/{id}/edit', 'BrowseuserController@edit');
    // 创建
    $router->get('/index/create', 'BrowseuserController@edit');
    // 保存
    $router->post('/index/save', 'BrowseuserController@saveSubmit');



    //删除
    $router->delete('/index/{id}', 'BrowseuserController@delIndex');


});
